# -*- encoding: utf-8 -*-

import os
os.environ["ROBOT_VENV"] = "test"

# 公共变量
DUBBO_PAMAR_JSON="JsonObject"
DUBBO_PAMAR_STRING="StringObject"
DB_OP_TYPE_INSERT="INSERT"
DB_OP_TYPE_DELETE="DELETE"
DB_QUERY_ALIAS="result"

PTS_INFO={"serviceTypeName": "PTS", "serviceType": "01", "serviceCode": "PTS_JG_SWXD"}

# boss相关变量
BOSS_HOST="http://boss-manage-pc.boss-test.sit.91lyd.com"
BOSS_LOGIN_URI="/xqy-portal-web/boss/login/base/login"
BOSS_USER_ADMIN="xqy_admin"
BOSS_USER_HB="xxbyw_hb"

# opc相关变量
OPC_HOST="http://yypt-front-spare.sit.91lyd.com/api"
OPC_DB_URL="database='opc',user='opc',password='wzbxfYKApOUGpeul',host='10.199.139.24',port=3306"
OPC_DB_ALIAS="opc_db"
OPC_REDIS_URL="host=redis.base-service-test.sit.91lyd.com,port=47495,db=0,password=123456"
OPC_REDIS_ALIAS="opc_redis"
OPC_ZK_ADDR="host=10.199.142.109,port=2181,group=business2-test,version=1.0.0"

# oec相关变量
OEC_DB_URL="database='oec',user='oec',password='zkENc8LkxONdYyGYD',host='10.199.139.19',port=3306"
OEC_DB_ALIAS="oec_db"
OEC_ZK_ADDR="host=10.199.142.109,port=2181,group=business-test,version=1.0.0"
OEC_REDIS_URL="host=k8s-redis.business-test.sit.91lyd.com,port=29546,db=0,password=123456"
OEC_REDIS_ALIAS="oec_redis"

OEC_POWER_UNEFFECTIVE="UNEFFECTIVE"
OEC_POWER_INFORCE="INFORCE"
OEC_POWER_EXPIRED="EXPIRED"
OEC_POWER_ONTINFORCE="ONTINFORCE"

OEC_POWER_ORDINARY="ORDINARY"
OEC_POWER_SETTLE="SETTLE"
OEC_POWER_MIX="MIX"

# obc相关变量
OBC_HOST="http://yypt-front-spare.sit.91lyd.com/api"
OBC_DB_URL="database='obc',user='obc',password='IUsNsfbAtsL0C0FDf',host='10.199.139.19',port=3306"
OBC_DB_ALIAS="obc_db"
OBC_ZK_ADDR="host=10.199.142.109,port=2181,group=business2-test,version=1.0.0"
OBC_REDIS_URL="host=k8s-redis.business-test.sit.91lyd.com,port=29546,db=0,password=123456"
OBC_REDIS_ALIAS="obc_redis"

OBC_BILL_NONEED="noneed"
OBC_BILL_UNSETTLE="unsettle"
OBC_BILL_SETTLED="settled"
OBC_BILL_OVERDUED="overdued"
OBC_BILL_SELFAILED="stlfailed"

OBC_OVER_UNIT_PRICE=3

OBC_FEE_NOT_START="not-start"
OBC_FEE_START="start"
OBC_FEE_END="end"

# bgw相关变量
BGW_HOST="http://bgw.business-test.sit.91lyd.com/bgw"
BGW_DB_URL="database='bgw',user='bgw',password='E3LxO7b58yUApc2',host='10.199.139.13',port=3307"
BGW_DB_ALIAS="bgw_db"

# numen相关变量
NUMEN_ZK_ADDR="host=10.199.142.109,port=2181,group=business2-test,version=1.0.0"